package com.neusoft.oa.serviceImp;

import com.neusoft.oa.mapper.SysMenuMapper;
import com.neusoft.oa.pojo.SysMenu;
import com.neusoft.oa.service.ISysMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysMenuServiceImp implements ISysMenuService {
    @Autowired
    SysMenuMapper sysMenuMapper;


    @Override
    public List<SysMenu> sysMenuList(int roleId) {
        return sysMenuMapper.sysMenuList(roleId);
    }

}
